package com.qfmy.model.entity.novel;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/11/13
 * @description 小说评论点赞实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class NovelCommentLike {
    @Schema(description = "点赞记录ID（主键）")
    private Integer id;

    @Schema(description = "被点赞的评论ID（关联主评论表novel_comments的comment_id）")
    private Integer commentId;

    @Schema(description = "点赞用户ID（关联用户表user的user_id）")
    private Integer userId;

    @Schema(description = "是否取消点赞（0-有效，1-已取消）")
    private Integer isCanceled;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}
    